package cn.jyc.ssm03.dao;

import cn.jyc.ssm03.pojo.News;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface NewsMapper {
    @Select("select * from sys_news where type=1")
    public List<News> getNews();
    @Select("select * from sys_news where type=2")
    public List<News> getNews2();
}
